package starlingui.core
{
	import com.imcrl.core.ClassFactory;
	
	public class AdvClassFactory extends ClassFactory
	{
		public var initializeInstance:Function;
		public function AdvClassFactory(generator:Class)
		{
			super(generator);
		}
		
		override public function newInstance():*{
			var ins:*=super.newInstance();
			initializeInstance(ins);
			return ins;
		}
	}
}